# -*- mode: Makefile; -*-

################################################################################
## V8
################################################################################

BUILT_SOURCES += @V8_LIBS@

@V8_LIBS@: .v8-build

.v8-build:
	@echo
	@echo "--------------------------------------------------------------------------------"
	@echo "BUILDING V8"
	@echo "--------------------------------------------------------------------------------"
	@echo

	cd @top_srcdir@/3rdParty/V8 && make library=static snapshot=off @V8_TARGET@

	touch .v8-build

	@echo
	@echo "--------------------------------------------------------------------------------"
	@echo "BUILD V8 FINISHED"
	@echo "--------------------------------------------------------------------------------"
	@echo
